package com.ces.knacky.controller.tools;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ces.knacky.framework.controller.ListController;
import com.ces.knacky.model.Auction;
import com.ces.knacky.model.Category;
import com.ces.knacky.model.Item;

@Controller
public class ListItemController<Item> extends ListController<Item> {
	@RequestMapping("/listItem.htm")
	public String execute(HttpServletRequest request) {
	listEntity = (List<Item>) commonService.list("SELECT item from Item item");
	return "listItem";
	}
}
